package com.xinnet.mms.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.xinnet.mms.enums.CustomerTypeEnmu;
import com.xinnet.mms.utils.CustomerManage;

/**
 * 
 *  
 *
 * @author 王湛智[wangzhanzhi@xinnet.com]
 *
 * @version 
 *
 * @since 2014年1月10日
 */
/**
 * @author Administrator
 *
 */
public class Customer extends CustomerManage implements Serializable{
	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 1L;
	private String cusId;//客户标识
	private String cname;//客户名称
	private String productLabel;//产品标签
	private Integer isAllot;//是否被分配
	private Integer isReceive;//是否被分配
	private Integer isReDevel;//是否经过二次开发
	private Integer isBuy;//是否购买过商品
	private Integer isAccept;//是否可接收
	private Integer customerType;//客户类型
	private String customerSource;//客户来源
	private String reportedEmpId;//报备人员标识
	private String reportedEmpName;//报备人员名称
	private String phone;//手机
	private String email;//邮箱
	private String remark;//最近一次的沟通记录
	private String companyId;//分公司id
	private String companyAbb;//分公司名称
	
	private String mixDeptno;//调配到部门
	private String mixEmpno;//调配到销售
	
	//通用属性==========================================================
	private String productId; //产品ID
	private String productCode;//产品Code
	private String customId; //客户标识
	private String empId; //销售ID
	private String deptno;//部门编号
	private String deptId;//部门ID（编号）
	private String regionalId;//地域标识
	private String registeredChannel;//注册通道
	private String registerType;
	private String productName;//产品名称
	private String customName;//客户名称
	private String empName;//销售名称
	private String dname;//部门名称
	private String areaName;//地域名称
	private String addTime;//注册日期
	
	//客户服务属性========================================================
	private String orderId;//订单编号
	private String serviceId;//服务编号
	private String orderType;//订单类型（新开、续费、退费）
	private String isReturns;//是否退费
	private String goodsCode;//上班标识
	private String goodsName;//与客户服务表关联查询时的冗余字段：商品名称
	private String goodsPrice;//与客户服务表关联查询时的冗余字段：商品价格
	private String domainName;//与客户服务表关联查询时的冗余字段：域名
	private String buyTime;//与客户服务表关联查询时的冗余字段：服务期开始时间
	private String dueTime;//与客户服务表关联查询时的冗余字段：服务期到期时间 
	private Integer dueWarningTime;//即将到期客户查询条件：服务期到期预警时间
	private String timeAmount;//订单时限
	private String timeUnit;//订单时间单位
	private String startDueTime;//到期时间的开始时间
	private String endDueTime;//到期时间的结束时间
	private String operateTime;//订单时间
	
	
	private String empno;//客户负责人员的ID标识
	private String ename;//客户负责人员的名称
	
	private Integer pushType;//推送历史表里的推送类型 用于查询意向客户 --人工推送则为意向客户 
	private String approveStatus;
	private String startAddTime;//记录添加日期的开始日期
	private String endAddTime;//记录添加日期的结束日期
	private String startDeployTime;//记录添加日期的开始日期
	private String endDeployTime;//记录添加日期的结束日期
	private String customerCareProductId;//客户服务表里的产品ID
	private String pushHistoryProductId;//推送历史表里的产品ID
	private String customerCareProductName;//客户服务表里的产品名称
	private String pushHistoryProductName;//推送历史表里的产品名称
	private String pushHistoryId;//推送历史记录的ID标识
	private String pusherDeptId;//推送者部门标识
	
	private List<String> areaIdList;//区域ID集合
	private List<String> empnoList;//查询用
	private List<String> customIdList;//查询即将到期商品时用于匹配销售的客户
	
	private String[] empnoArray;//人员ID集合 负责人查询时用
	private String[] cusIdArray;//客户ID集合 用于批量接收客户
	private String[] pushHistoryIdAraay;//推送历史ID集合 用于批量接收客户
	private String[] pushProductIdArray;//推送历史产品ID集合 用于批量接收客户
	private String[] deptIdArray;//部门ID集合
	
	private String ecrIdStr;//客户销售关系表主键ID集合
	private String cusIdStr;//客户ID集合字符串 用于批量接收客户、回收客户时接收前台传过来的ID集合
	private String empIdStr;//客户对应的销售人员ID集合
	private String productIdStr;//客户销售关系的产品ID集合
	
	private String phIdStr;//推送历史ID集合字符串 用于批量接收客户、回收客户时接收前台传过来的ID集合
	private String phProductIdStr;//推送产品ID集合字符串 用于批量接收客户、回收客户时接收前台传过来的ID集合
	private String pusherIdStr;//推送人ID集合字符串 用于批量接收客户、回收客户时接收前台传过来的ID集合
	
	//客户销售关系表属性========================================================
	private String ecrId; //主键ID
	private String applyerId;
	private String isLogQuery; //主键ID
	private Integer customType; //客户类型
	private Integer customState; //客户状态 
	private String pushHistId; //推送历史ID
	private String pusherId; //推送人员ID
	private String pushDesc;//推送备注
	private String vanishTime;//流走时间
	private Date createTime; //创建时间
	private String createTimeString;//创建时间字符串类型
	private String nolinkedDay;
	private String nolinkedDay1;
	private String nolinkedDay2;
	
	private Integer pageNow;//分页的当前页
	private Integer pageSize;//每页显示条数
	private Integer rowCount;//总记录数
	private Integer pageCount;//总页数
	
	private String addShopCartTime;//添加购物车时间
	private String addShopCartStartTime;//添加购物车开始时间
	private String addShopCartEndTime;//添加购物车开始时间
	private Integer countAcceptNo;//未接收客户的数量
	
	private Integer allotType;//查询新注册客户时 区分 首次、二次分配
	private String intentionProduct;//查询条件：意向商品
	
	private String agentType;//用户类型 企业 /个人 C/P
	private String publicStreetCN;//通信地址
	private String publicZipCode;//邮编
	private String organizeNameCN;//单位、个人名称
	private String userPhoneInter;//电话前区号
	private String userPhoneArea;//电话前区号
	private String userPhoneNumber;//电话号
	private String userFaxInter;
	private String userFaxArea;//传真区号
	private String userFaxNumber;//传真号
	private String balance;//客户余额
	private String withdrawMoney;//可提现余额
	private Integer vanishWarningTime;//流走预警时间
	private String startVanishTime;//开始流走时间
	private String endVanishTime;//结束流走时间
	
	private Integer selectCustomerType;//即将流走客户页面查询项
	private String customerTypeStr;//即将流走客户页面展示数据项
	
	private Integer filterDueCustomer;//查询节将到期客户时 判断是否查询已过期的客户
	
	private String isDebug;//是否是以debug启动项目

	private String cmaId;
	
	private Integer limitTop;//分页上标
	
	private Integer limitDown;//分页下标
	
	private Integer notInType;//不包含的客户类型
	
	private String jobId;//任务ID
	private String timeStamp;//时间戳
	private Integer timeStampLimit;//从时间戳开始去多少条
	private String jobType;//job类型
	
	private Integer isSort;//是否按时间倒序排序
	private String sidx;
	private String sord;
	private String orderByStr;
	public Customer() {
		super();
		// TODO Auto-generated constructor stub
	}

	public Customer(String cusId, String cname, String productLabel,
			Integer isAllot, Integer isReceive, Integer isReDevel,
			Integer isBuy, Integer isAccept, Integer customerType,
			String customerSource, String reportedEmpId,
			String reportedEmpName, String phone, String email, String remark,
			String addTime, String companyId, String companyAbb,String registeredChannel,
			String registerType,
			String mixDeptno, String mixEmpno, String productId,
			String productCode, String customId, String empId, String deptno,
			String deptId, String regionalId, String productName,
			String customName, String empName, String dname, String areaName,
			String orderId, String serviceId, String orderType,
			String isReturns, String goodsCode, String goodsName,
			String goodsPrice, String domainName, String buyTime,
			String dueTime, Integer dueWarningTime, String timeAmount,
			String timeUnit, String startDueTime, String endDueTime,
			String empno, String ename, Integer pushType, String approveStatus,
			String startAddTime, String endAddTime,String startDeployTime,String endDeployTime,
			String customerCareProductId, String pushHistoryProductId,
			String customerCareProductName, String pushHistoryProductName,
			String pushHistoryId, String pusherDeptId, List<String> areaIdList,
			List<String> empnoList, List<String> customIdList,
			String[] empnoArray, String[] cusIdArray,
			String[] pushHistoryIdAraay, String[] pushProductIdArray,
			String[] deptIdArray, String ecrIdStr, String cusIdStr,
			String empIdStr, String productIdStr, String phIdStr,
			String phProductIdStr, String pusherIdStr, String ecrId,
			String applyerId, String isLogQuery, Integer customType,
			Integer customState, String pushHistId, String pusherId,
			String pushDesc, String vanishTime, Date createTime,
			String createTimeString, Integer pageNow, Integer pageSize,
			Integer rowCount, Integer pageCount, String addShopCartTime,
			String addShopCartStartTime,String addShopCartEndTime,
			Integer countAcceptNo, Integer allotType, String intentionProduct,
			String agentType, String publicStreetCN, String publicZipCode,
			String organizeNameCN, String userPhoneInter, String userPhoneArea,
			String userPhoneNumber, String userFaxInter, String userFaxArea,
			String userFaxNumber, Integer vanishWarningTime,
			String startVanishTime, String endVanishTime,
			Integer selectCustomerType, String customerTypeStr,
			Integer filterDueCustomer, String isDebug, String cmaId,
			Integer limitTop, Integer limitDown, Integer notInType,
			String jobId, String timeStamp, Integer timeStampLimit,String balance,String withdrawMoney,
			String jobType, Integer isSort,String operateTime, String nolinkedDay, String nolinkedDay1, String nolinkedDay2,
			String sidx, String sord, String orderByStr
			) {
		super();
		this.cusId = cusId;
		this.cname = cname;
		this.productLabel = productLabel;
		this.isAllot = isAllot;
		this.isReceive = isReceive;
		this.isReDevel = isReDevel;
		this.isBuy = isBuy;
		this.isAccept = isAccept;
		this.customerType = customerType;
		this.customerSource = customerSource;
		this.reportedEmpId = reportedEmpId;
		this.reportedEmpName = reportedEmpName;
		this.phone = phone;
		this.email = email;
		this.remark = remark;
		this.addTime = addTime;
		this.companyId = companyId;
		this.companyAbb = companyAbb;
		this.registeredChannel=registeredChannel;
		this.registerType=registerType;
		this.mixDeptno = mixDeptno;
		this.mixEmpno = mixEmpno;
		this.productId = productId;
		this.productCode = productCode;
		this.customId = customId;
		this.empId = empId;
		this.deptno = deptno;
		this.deptId = deptId;
		this.regionalId = regionalId;
		this.productName = productName;
		this.customName = customName;
		this.empName = empName;
		this.dname = dname;
		this.areaName = areaName;
		this.orderId = orderId;
		this.serviceId = serviceId;
		this.orderType = orderType;
		this.isReturns = isReturns;
		this.goodsCode = goodsCode;
		this.goodsName = goodsName;
		this.goodsPrice = goodsPrice;
		this.domainName = domainName;
		this.buyTime = buyTime;
		this.dueTime = dueTime;
		this.dueWarningTime = dueWarningTime;
		this.timeAmount = timeAmount;
		this.timeUnit = timeUnit;
		this.startDueTime = startDueTime;
		this.endDueTime = endDueTime;
		this.empno = empno;
		this.ename = ename;
		this.pushType = pushType;
		this.approveStatus = approveStatus;
		this.startAddTime = startAddTime;
		this.addShopCartStartTime = addShopCartStartTime;
		this.addShopCartEndTime = addShopCartEndTime;
		this.endAddTime = endAddTime;
		this.startDeployTime = startDeployTime;
		this.endDeployTime = endDeployTime;
		this.customerCareProductId = customerCareProductId;
		this.pushHistoryProductId = pushHistoryProductId;
		this.customerCareProductName = customerCareProductName;
		this.pushHistoryProductName = pushHistoryProductName;
		this.pushHistoryId = pushHistoryId;
		this.pusherDeptId = pusherDeptId;
		this.areaIdList = areaIdList;
		this.empnoList = empnoList;
		this.customIdList = customIdList;
		this.empnoArray = empnoArray;
		this.cusIdArray = cusIdArray;
		this.pushHistoryIdAraay = pushHistoryIdAraay;
		this.pushProductIdArray = pushProductIdArray;
		this.deptIdArray = deptIdArray;
		this.ecrIdStr = ecrIdStr;
		this.cusIdStr = cusIdStr;
		this.empIdStr = empIdStr;
		this.productIdStr = productIdStr;
		this.phIdStr = phIdStr;
		this.phProductIdStr = phProductIdStr;
		this.pusherIdStr = pusherIdStr;
		this.ecrId = ecrId;
		this.applyerId = applyerId;
		this.isLogQuery = isLogQuery;
		this.customType = customType;
		this.customState = customState;
		this.pushHistId = pushHistId;
		this.pusherId = pusherId;
		this.pushDesc = pushDesc;
		this.vanishTime = vanishTime;
		this.createTime = createTime;
		this.createTimeString = createTimeString;
		this.pageNow = pageNow;
		this.pageSize = pageSize;
		this.rowCount = rowCount;
		this.pageCount = pageCount;
		this.addShopCartTime = addShopCartTime;
		this.countAcceptNo = countAcceptNo;
		this.allotType = allotType;
		this.intentionProduct = intentionProduct;
		this.agentType = agentType;
		this.publicStreetCN = publicStreetCN;
		this.publicZipCode = publicZipCode;
		this.organizeNameCN = organizeNameCN;
		this.userPhoneInter = userPhoneInter;
		this.userPhoneArea = userPhoneArea;
		this.userPhoneNumber = userPhoneNumber;
		this.userFaxInter = userFaxInter;
		this.userFaxArea = userFaxArea;
		this.userFaxNumber = userFaxNumber;
		this.vanishWarningTime = vanishWarningTime;
		this.startVanishTime = startVanishTime;
		this.endVanishTime = endVanishTime;
		this.selectCustomerType = selectCustomerType;
		this.customerTypeStr = customerTypeStr;
		this.filterDueCustomer = filterDueCustomer;
		this.isDebug = isDebug;
		this.cmaId = cmaId;
		this.limitTop = limitTop;
		this.limitDown = limitDown;
		this.notInType = notInType;
		this.jobId = jobId;
		this.timeStamp = timeStamp;
		this.timeStampLimit = timeStampLimit;
		this.jobType = jobType;
		this.isSort = isSort;
		this.operateTime = operateTime;
		this.balance = balance;
		this.withdrawMoney = withdrawMoney;
		this.nolinkedDay = nolinkedDay;
		this.nolinkedDay1 = nolinkedDay1;
		this.nolinkedDay2 = nolinkedDay2;
		this.sidx = sidx;
		this.sord = sord;
		this.orderByStr = orderByStr;
	}

	public String getCusId() {
		return cusId;
	}

	public void setCusId(String cusId) {
		this.cusId = cusId;
	}

	public String getCname() {
		return cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public String getProductLabel() {
		return productLabel;
	}

	public void setProductLabel(String productLabel) {
		this.productLabel = productLabel;
	}

	public Integer getIsAllot() {
		return isAllot;
	}

	public void setIsAllot(Integer isAllot) {
		this.isAllot = isAllot;
	}

	public Integer getIsReceive() {
		return isReceive;
	}

	public void setIsReceive(Integer isReceive) {
		this.isReceive = isReceive;
	}

	public Integer getIsReDevel() {
		return isReDevel;
	}

	public void setIsReDevel(Integer isReDevel) {
		this.isReDevel = isReDevel;
	}

	public Integer getIsBuy() {
		return isBuy;
	}

	public void setIsBuy(Integer isBuy) {
		this.isBuy = isBuy;
	}

	public Integer getIsAccept() {
		return isAccept;
	}

	public void setIsAccept(Integer isAccept) {
		this.isAccept = isAccept;
	}

	public Integer getCustomerType() {
		return customerType;
	}

	public void setCustomerType(Integer customerType) {
		this.customerType = customerType;
	}

	public String getCustomerSource() {
		return customerSource;
	}

	public void setCustomerSource(String customerSource) {
		this.customerSource = customerSource;
	}

	public String getReportedEmpId() {
		return reportedEmpId;
	}

	public void setReportedEmpId(String reportedEmpId) {
		this.reportedEmpId = reportedEmpId;
	}

	public String getReportedEmpName() {
		return reportedEmpName;
	}

	public void setReportedEmpName(String reportedEmpName) {
		this.reportedEmpName = reportedEmpName;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getAddTime() {
		return addTime;
	}

	public void setAddTime(String addTime) {
		this.addTime = addTime;
	}

	public String getCompanyId() {
		return companyId;
	}

	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

	public String getCompanyAbb() {
		return companyAbb;
	}

	public void setCompanyAbb(String companyAbb) {
		this.companyAbb = companyAbb;
	}

	public String getRegisteredChannel() {
		return registeredChannel;
	}

	public void setRegisteredChannel(String registeredChannel) {
		this.registeredChannel = registeredChannel;
	}

	public String getRegisterType() {
		return registerType;
	}

	public void setRegisterType(String registerType) {
		this.registerType = registerType;
	}

	public String getMixDeptno() {
		return mixDeptno;
	}

	public void setMixDeptno(String mixDeptno) {
		this.mixDeptno = mixDeptno;
	}

	public String getMixEmpno() {
		return mixEmpno;
	}

	public void setMixEmpno(String mixEmpno) {
		this.mixEmpno = mixEmpno;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public String getProductCode() {
		return productCode;
	}

	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}

	public String getCustomId() {
		return customId;
	}

	public void setCustomId(String customId) {
		this.customId = customId;
	}

	public String getEmpId() {
		return empId;
	}

	public void setEmpId(String empId) {
		this.empId = empId;
	}

	public String getDeptno() {
		return deptno;
	}

	public void setDeptno(String deptno) {
		this.deptno = deptno;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public String getRegionalId() {
		return regionalId;
	}

	public void setRegionalId(String regionalId) {
		this.regionalId = regionalId;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getCustomName() {
		return customName;
	}

	public void setCustomName(String customName) {
		this.customName = customName;
	}

	public String getEmpName() {
		return empName;
	}

	public void setEmpName(String empName) {
		this.empName = empName;
	}

	public String getDname() {
		return dname;
	}

	public void setDname(String dname) {
		this.dname = dname;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getServiceId() {
		return serviceId;
	}

	public void setServiceId(String serviceId) {
		this.serviceId = serviceId;
	}

	public String getOrderType() {
		return orderType;
	}

	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}

	public String getIsReturns() {
		return isReturns;
	}

	public void setIsReturns(String isReturns) {
		this.isReturns = isReturns;
	}

	public String getGoodsCode() {
		return goodsCode;
	}

	public void setGoodsCode(String goodsCode) {
		this.goodsCode = goodsCode;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getGoodsPrice() {
		return goodsPrice;
	}

	public void setGoodsPrice(String goodsPrice) {
		this.goodsPrice = goodsPrice;
	}

	public String getDomainName() {
		return domainName;
	}

	public void setDomainName(String domainName) {
		this.domainName = domainName;
	}

	public String getBuyTime() {
		return buyTime;
	}

	public void setBuyTime(String buyTime) {
		this.buyTime = buyTime;
	}

	public String getDueTime() {
		return dueTime;
	}

	public void setDueTime(String dueTime) {
		this.dueTime = dueTime;
	}

	public Integer getDueWarningTime() {
		return dueWarningTime;
	}

	public void setDueWarningTime(Integer dueWarningTime) {
		this.dueWarningTime = dueWarningTime;
	}

	public String getTimeAmount() {
		return timeAmount;
	}

	public void setTimeAmount(String timeAmount) {
		this.timeAmount = timeAmount;
	}

	public String getTimeUnit() {
		return timeUnit;
	}

	public void setTimeUnit(String timeUnit) {
		this.timeUnit = timeUnit;
	}

	public String getStartDueTime() {
		return startDueTime;
	}

	public void setStartDueTime(String startDueTime) {
		this.startDueTime = startDueTime;
	}

	public String getEndDueTime() {
		return endDueTime;
	}

	public void setEndDueTime(String endDueTime) {
		this.endDueTime = endDueTime;
	}

	public String getEmpno() {
		return empno;
	}

	public void setEmpno(String empno) {
		this.empno = empno;
	}

	public String getEname() {
		return ename;
	}

	public void setEname(String ename) {
		this.ename = ename;
	}

	public Integer getPushType() {
		return pushType;
	}

	public void setPushType(Integer pushType) {
		this.pushType = pushType;
	}

	public String getApproveStatus() {
		return approveStatus;
	}

	public void setApproveStatus(String approveStatus) {
		this.approveStatus = approveStatus;
	}

	public String getStartAddTime() {
		return startAddTime;
	}

	public void setStartAddTime(String startAddTime) {
		this.startAddTime = startAddTime;
	}

	public String getEndAddTime() {
		return endAddTime;
	}

	public void setEndAddTime(String endAddTime) {
		this.endAddTime = endAddTime;
	}

	public String getCustomerCareProductId() {
		return customerCareProductId;
	}

	public void setCustomerCareProductId(String customerCareProductId) {
		this.customerCareProductId = customerCareProductId;
	}

	public String getPushHistoryProductId() {
		return pushHistoryProductId;
	}

	public void setPushHistoryProductId(String pushHistoryProductId) {
		this.pushHistoryProductId = pushHistoryProductId;
	}

	public String getCustomerCareProductName() {
		return customerCareProductName;
	}

	public void setCustomerCareProductName(String customerCareProductName) {
		this.customerCareProductName = customerCareProductName;
	}

	public String getPushHistoryProductName() {
		return pushHistoryProductName;
	}

	public void setPushHistoryProductName(String pushHistoryProductName) {
		this.pushHistoryProductName = pushHistoryProductName;
	}

	public String getPushHistoryId() {
		return pushHistoryId;
	}

	public void setPushHistoryId(String pushHistoryId) {
		this.pushHistoryId = pushHistoryId;
	}

	public String getPusherDeptId() {
		return pusherDeptId;
	}

	public void setPusherDeptId(String pusherDeptId) {
		this.pusherDeptId = pusherDeptId;
	}

	public List<String> getAreaIdList() {
		return areaIdList;
	}

	public void setAreaIdList(List<String> areaIdList) {
		this.areaIdList = areaIdList;
	}

	public List<String> getEmpnoList() {
		return empnoList;
	}

	public void setEmpnoList(List<String> empnoList) {
		this.empnoList = empnoList;
	}

	public List<String> getCustomIdList() {
		return customIdList;
	}

	public void setCustomIdList(List<String> customIdList) {
		this.customIdList = customIdList;
	}

	public String[] getEmpnoArray() {
		return empnoArray;
	}

	public void setEmpnoArray(String[] empnoArray) {
		this.empnoArray = empnoArray;
	}

	public String[] getCusIdArray() {
		return cusIdArray;
	}

	public void setCusIdArray(String[] cusIdArray) {
		this.cusIdArray = cusIdArray;
	}

	public String[] getPushHistoryIdAraay() {
		return pushHistoryIdAraay;
	}

	public void setPushHistoryIdAraay(String[] pushHistoryIdAraay) {
		this.pushHistoryIdAraay = pushHistoryIdAraay;
	}

	public String[] getPushProductIdArray() {
		return pushProductIdArray;
	}

	public void setPushProductIdArray(String[] pushProductIdArray) {
		this.pushProductIdArray = pushProductIdArray;
	}

	public String[] getDeptIdArray() {
		return deptIdArray;
	}

	public void setDeptIdArray(String[] deptIdArray) {
		this.deptIdArray = deptIdArray;
	}

	public String getEcrIdStr() {
		return ecrIdStr;
	}

	public void setEcrIdStr(String ecrIdStr) {
		this.ecrIdStr = ecrIdStr;
	}

	public String getCusIdStr() {
		return cusIdStr;
	}

	public void setCusIdStr(String cusIdStr) {
		this.cusIdStr = cusIdStr;
	}

	public String getEmpIdStr() {
		return empIdStr;
	}

	public void setEmpIdStr(String empIdStr) {
		this.empIdStr = empIdStr;
	}

	public String getProductIdStr() {
		return productIdStr;
	}

	public void setProductIdStr(String productIdStr) {
		this.productIdStr = productIdStr;
	}

	public String getPhIdStr() {
		return phIdStr;
	}

	public void setPhIdStr(String phIdStr) {
		this.phIdStr = phIdStr;
	}

	public String getPhProductIdStr() {
		return phProductIdStr;
	}

	public void setPhProductIdStr(String phProductIdStr) {
		this.phProductIdStr = phProductIdStr;
	}

	public String getPusherIdStr() {
		return pusherIdStr;
	}

	public void setPusherIdStr(String pusherIdStr) {
		this.pusherIdStr = pusherIdStr;
	}

	public String getEcrId() {
		return ecrId;
	}

	public void setEcrId(String ecrId) {
		this.ecrId = ecrId;
	}

	public String getApplyerId() {
		return applyerId;
	}

	public void setApplyerId(String applyerId) {
		this.applyerId = applyerId;
	}

	public String getIsLogQuery() {
		return isLogQuery;
	}

	public void setIsLogQuery(String isLogQuery) {
		this.isLogQuery = isLogQuery;
	}

	public Integer getCustomType() {
		return customType;
	}

	public void setCustomType(Integer customType) {
		this.customType = customType;
	}

	public Integer getCustomState() {
		return customState;
	}

	public void setCustomState(Integer customState) {
		this.customState = customState;
	}

	public String getPushHistId() {
		return pushHistId;
	}

	public void setPushHistId(String pushHistId) {
		this.pushHistId = pushHistId;
	}

	public String getPusherId() {
		return pusherId;
	}

	public void setPusherId(String pusherId) {
		this.pusherId = pusherId;
	}

	public String getPushDesc() {
		return pushDesc;
	}

	public void setPushDesc(String pushDesc) {
		this.pushDesc = pushDesc;
	}

	public String getVanishTime() {
		return vanishTime;
	}

	public void setVanishTime(String vanishTime) {
		this.vanishTime = vanishTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateTimeString() {
		return createTimeString;
	}

	public void setCreateTimeString(String createTimeString) {
		this.createTimeString = createTimeString;
	}

	public Integer getPageNow() {
		return pageNow;
	}

	public void setPageNow(Integer pageNow) {
		this.pageNow = pageNow;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Integer getRowCount() {
		return rowCount;
	}

	public void setRowCount(Integer rowCount) {
		this.rowCount = rowCount;
	}

	public Integer getPageCount() {
		return pageCount;
	}

	public void setPageCount(Integer pageCount) {
		this.pageCount = pageCount;
	}

	public String getAddShopCartTime() {
		return addShopCartTime;
	}

	public void setAddShopCartTime(String addShopCartTime) {
		this.addShopCartTime = addShopCartTime;
	}

	public String getAddShopCartStartTime() {
		return addShopCartStartTime;
	}

	public void setAddShopCartStartTime(String addShopCartStartTime) {
		this.addShopCartStartTime = addShopCartStartTime;
	}

	public String getAddShopCartEndTime() {
		return addShopCartEndTime;
	}

	public void setAddShopCartEndTime(String addShopCartEndTime) {
		this.addShopCartEndTime = addShopCartEndTime;
	}
	
	public String getStartDeployTime() {
		return startDeployTime;
	}

	public void setStartDeployTime(String startDeployTime) {
		this.startDeployTime = startDeployTime;
	}

	public String getEndDeployTime() {
		return endDeployTime;
	}

	public void setEndDeployTime(String endDeployTime) {
		this.endDeployTime = endDeployTime;
	}

	public Integer getCountAcceptNo() {
		return countAcceptNo;
	}

	public void setCountAcceptNo(Integer countAcceptNo) {
		this.countAcceptNo = countAcceptNo;
	}

	public Integer getAllotType() {
		return allotType;
	}

	public void setAllotType(Integer allotType) {
		this.allotType = allotType;
	}

	public String getIntentionProduct() {
		return intentionProduct;
	}

	public void setIntentionProduct(String intentionProduct) {
		this.intentionProduct = intentionProduct;
	}

	public String getAgentType() {
		return agentType;
	}

	public void setAgentType(String agentType) {
		this.agentType = agentType;
	}

	public String getPublicStreetCN() {
		return publicStreetCN;
	}

	public void setPublicStreetCN(String publicStreetCN) {
		this.publicStreetCN = publicStreetCN;
	}

	public String getPublicZipCode() {
		return publicZipCode;
	}

	public void setPublicZipCode(String publicZipCode) {
		this.publicZipCode = publicZipCode;
	}

	public String getOrganizeNameCN() {
		return organizeNameCN;
	}

	public void setOrganizeNameCN(String organizeNameCN) {
		this.organizeNameCN = organizeNameCN;
	}

	public String getUserPhoneInter() {
		return userPhoneInter;
	}

	public void setUserPhoneInter(String userPhoneInter) {
		this.userPhoneInter = userPhoneInter;
	}

	public String getUserPhoneArea() {
		return userPhoneArea;
	}

	public void setUserPhoneArea(String userPhoneArea) {
		this.userPhoneArea = userPhoneArea;
	}

	public String getUserPhoneNumber() {
		return userPhoneNumber;
	}

	public void setUserPhoneNumber(String userPhoneNumber) {
		this.userPhoneNumber = userPhoneNumber;
	}

	public String getUserFaxInter() {
		return userFaxInter;
	}

	public void setUserFaxInter(String userFaxInter) {
		this.userFaxInter = userFaxInter;
	}

	public String getUserFaxArea() {
		return userFaxArea;
	}

	public void setUserFaxArea(String userFaxArea) {
		this.userFaxArea = userFaxArea;
	}

	public String getUserFaxNumber() {
		return userFaxNumber;
	}

	public void setUserFaxNumber(String userFaxNumber) {
		this.userFaxNumber = userFaxNumber;
	}

	public Integer getVanishWarningTime() {
		return vanishWarningTime;
	}

	public void setVanishWarningTime(Integer vanishWarningTime) {
		this.vanishWarningTime = vanishWarningTime;
	}

	public String getStartVanishTime() {
		return startVanishTime;
	}

	public void setStartVanishTime(String startVanishTime) {
		this.startVanishTime = startVanishTime;
	}

	public String getEndVanishTime() {
		return endVanishTime;
	}

	public void setEndVanishTime(String endVanishTime) {
		this.endVanishTime = endVanishTime;
	}

	public Integer getSelectCustomerType() {
		return selectCustomerType;
	}

	public void setSelectCustomerType(Integer selectCustomerType) {
		this.selectCustomerType = selectCustomerType;
	}

	public String getCustomerTypeStr() {
		if(customerType!=null){
			CustomerTypeEnmu c = CustomerTypeEnmu.getCustomerTypeEnmuByValue(customerType);
			if(c==null){
				return null;
			}
			return c.getLabel();
		}
		
		return customerTypeStr;
	}

	public void setCustomerTypeStr(String customerTypeStr) {
		this.customerTypeStr = customerTypeStr;
	}

	public Integer getFilterDueCustomer() {
		return filterDueCustomer;
	}

	public void setFilterDueCustomer(Integer filterDueCustomer) {
		this.filterDueCustomer = filterDueCustomer;
	}

	public String getIsDebug() {
		return isDebug;
	}

	public void setIsDebug(String isDebug) {
		this.isDebug = isDebug;
	}

	public String getCmaId() {
		return cmaId;
	}

	public void setCmaId(String cmaId) {
		this.cmaId = cmaId;
	}

	public Integer getLimitTop() {
		return limitTop;
	}

	public void setLimitTop(Integer limitTop) {
		this.limitTop = limitTop;
	}

	public Integer getLimitDown() {
		return limitDown;
	}

	public void setLimitDown(Integer limitDown) {
		this.limitDown = limitDown;
	}

	public Integer getNotInType() {
		return notInType;
	}

	public void setNotInType(Integer notInType) {
		this.notInType = notInType;
	}

	public String getJobId() {
		return jobId;
	}

	public void setJobId(String jobId) {
		this.jobId = jobId;
	}

	public String getTimeStamp() {
		return timeStamp;
	}

	public void setTimeStamp(String timeStamp) {
		this.timeStamp = timeStamp;
	}

	public Integer getTimeStampLimit() {
		return timeStampLimit;
	}

	public void setTimeStampLimit(Integer timeStampLimit) {
		this.timeStampLimit = timeStampLimit;
	}

	public String getJobType() {
		return jobType;
	}

	public void setJobType(String jobType) {
		this.jobType = jobType;
	}

	public Integer getIsSort() {
		return isSort;
	}

	public void setIsSort(Integer isSort) {
		this.isSort = isSort;
	}

	public String getOperateTime() {
		return operateTime;
	}

	public void setOperateTime(String operateTime) {
		this.operateTime = operateTime;
	}

	public String getNolinkedDay1() {
		return nolinkedDay1;
	}

	public void setNolinkedDay1(String nolinkedDay1) {
		this.nolinkedDay1 = nolinkedDay1;
	}

	public String getNolinkedDay2() {
		return nolinkedDay2;
	}

	public void setNolinkedDay2(String nolinkedDay2) {
		this.nolinkedDay2 = nolinkedDay2;
	}

	public String getNolinkedDay() {
		return nolinkedDay;
	}

	public void setNolinkedDay(String nolinkedDay) {
		this.nolinkedDay = nolinkedDay;
	}

	public String getBalance() {
		if(balance==null){
			return null;
		}
		BigDecimal decimal1 = new BigDecimal(balance);
		decimal1 = decimal1.setScale(3,   BigDecimal.ROUND_HALF_UP);
		BigDecimal decimal2 = new BigDecimal(getWithdrawMoney());
		decimal2 = decimal2.setScale(3,   BigDecimal.ROUND_HALF_UP);
		return String.valueOf(decimal1.add(decimal2));
	}

	public void setBalance(String balance) {
		this.balance = balance;
	}

	public String getWithdrawMoney() {
		return withdrawMoney;
	}

	public void setWithdrawMoney(String withdrawMoney) {
		this.withdrawMoney = withdrawMoney;
	}

	public String getSidx() {
		return sidx;
	}

	public void setSidx(String sidx) {
		this.sidx = sidx;
	}

	public String getSord() {
		return sord;
	}

	public void setSord(String sord) {
		this.sord = sord;
	}

	public String getOrderByStr() {
		return "order by " + sidx + " " + sord ;
	}

	public void setOrderByStr(String orderByStr) {
		this.orderByStr = orderByStr;
	}
}
